package system_code.read_write;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class demo1 {
    //写文件
    public static void main(String[] args) throws IOException {
        OutputStream outputStream = new FileOutputStream("a.txt");
        outputStream.write(97);
        outputStream.write(98);
        outputStream.write(99);
        outputStream.close();
    }
}

